package book;

import java.awt.print.Book;

public class BookList {
    private Book[] books;
    private int usedSize;
    public BookList(){
        this.books = new Book[10];
    }
    public Book getBook(int pos){

        return books[pos];
    }
    public Book setbBook(int pos,Book book){

        return books[pos] = book;
    }
    public int getUsedSize() {

        return usedSize;
    }

    public void setUsedSize(int usedSize) {

        this.usedSize = usedSize;
    }
}
